

            <div style="margin-left: 7px; width: 100%">
                
                <?php
                $css = "";
                $dem = null;
                if ($pages != null) {
                    $dem = $pages->title;

                    if (strlen($dem) >= 60) {
                        $css = "bgtopic600";
                    } else if (strlen($dem) >= 39) {
                        $css = "bgtopic500";
                    } else {
                        $css = "bgtopic340";
                    }
                }
                ?>
                <div class="<?php echo $css; ?>">
                    <div class="topic_title">
                        <?php
                        if ($pages != null) {
                            echo $pages->title;
                        }
                        ?>
                    </div>
                </div>
                <div style="width: 630px; padding-bottom: 10px; ">
                    <?php
                    if ($pages != null) {
                        echo $pages->content;
                    } else {
                        echo '<div style="color:red;font-weight: bold;font-size: 15pt;">Không tìm thấy trang bạn tìm</div>';
                    }
                    ?>
                
                </div>
            </div>
        

<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>

<div id="to"></div>
<div class="clear"></div>
</div>

<div class="clear"></div>
</div>

